import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"



// 获取标签
export const findTagApi = (data) => {
    return httpPost('/tags/search', data)
}
// 添加标签
export const addTagApi = (data) => {
    return httpPost('/tags/add', data)
}
// 删除标签
export const deleteTagApi = (data) => {
    return httpDelete('/tags/remove', data)
}
// 修改标签
export const updateTagApi = (data) => {
    return httpPut('/tags/update', data)
}
// 获取一个标签的详情
// export const getTagByIdApi = (data) => {
//     return httpGet('/tags/detail', data)
// }


